﻿@model StaffingSystem.EF.personnelinfor

@{
    Layout = null;
}


<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>

    <link href="~/Plugins/layui/css/layui.css" rel="stylesheet" />

</head>
<body>

    <div class="all" align="center">

        <div class="top"><h1>员工信息编辑</h1></div>
        <form class="layui-form">
            <div style="margin-left: 50px; margin-top: 10px; ">
                <div class="layui-form-item">
                    <input type="hidden" id="ID" value="@Model.Id">
                    <div class="layui-form-item">
                        <label class="layui-form-label">姓名：</label>
                        <div class="layui-input-inline">

                            <input id="Name" type="text"   class="layui-input" value="@Model.Name">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">性别：</label>
                        <div class="layui-input-inline">
                            <input id="Sex" type="text"   class="layui-input" value='@(Model.Sex.ToString()=="False"?"男":"女")' >
                        </div>
                        <label class="layui-form-label">年龄：</label>
                        <div class="layui-input-inline">
                            <input id="Age" type="text"   class="layui-input" value="@Model.Age">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">民族：</label>
                        <div class="layui-input-inline">
                            <input id="Nation" type="text"  class="layui-input" value="@Model.Nation">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">学历：</label>
                            <div class="layui-input-inline">
                                <input id="Education" type="text" class="layui-input" value="@Model.Education">
                            </div>
                        </div>

                        <div class="layui-inline">
                            <label class="layui-form-label">证件号：</label>
                            <div class="layui-input-inline">
                                <input id="IDNumber" type="text" class="layui-input" value="@Model.IDNumber">
                            </div>
                        </div>
                    </div>



                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">联系方式：</label>
                        <div class="layui-input-block">
                            <input id="Phone" type="text" class="layui-input" value="@Model.Phone">
                        </div>
                    </div>

                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">现住址：</label>
                        <div class="layui-input-block">
                            <input id="Address" type="text" class="layui-input" value="@Model.Address">
                        </div>
                    </div>


                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">添加时间：</label>
                        <div class="layui-input-block">
                            <input id="AddTime" type="text"  class="layui-input" value="@Model.AddTime">
                        </div>
                    </div>


                    <div style="margin-left: 200px;margin-top: 20px;">
                        <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit lay-filter="Update">确认修改</button>
                        <button id="btnClose" class="layui-btn layui-btn-normal layui-btn-radius">取消</button>
                    </div>
                </div>

            </div>
        </form>
    </div>


  
    <script src="~/Plugins/layui/layui.js"></script>

        <script src="~/Scripts/EmployeeCompile.js"></script>

</body>
</html>

